mongodb check for array not empty query

104

mongodb check for array not empty query -

collection.find({ arrayElementName: { $exists: true, $not: {$size: 0} } })

Comments

Submit
0 Comments